﻿using Abp.Configuration.Startup;
using Abp.MultiTenancy;
using Abp.Runtime;
using Abp.Runtime.Session;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace AVISOutBound.PublicAPI.Web.Host
{
    public class MockAbpSession : ClaimsAbpSession
    {
        /// <inheritdoc/>
        public override long? UserId => 1;

        /// <inheritdoc/>
        public override int? TenantId => 1;

        public override MultiTenancySides MultiTenancySide => MultiTenancySides.Tenant;

        public override long? ImpersonatorUserId => 2;

        public override int? ImpersonatorTenantId => 1;

        public MockAbpSession(IPrincipalAccessor principalAccessor, IMultiTenancyConfig multiTenancy, ITenantResolver tenantResolver, IAmbientScopeProvider<SessionOverride> sessionOverrideScopeProvider)
            : base(principalAccessor, multiTenancy, tenantResolver, sessionOverrideScopeProvider)
        {

        }
    }
}
